export const tableOption = {
  "border": false,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  'selection': true,
  "searchMenuSpan": 6,
  "addBtn": false,
  "refreshBtn": false,
  "columnBtn": false,
  "searchShowBtn": false,
  "searchIcon":false,
  "searchShow": true,
  labelWidth: 120,
"column": [
  // {
  //   "type": "input",
  //   "label": "主键",
  //   "prop": "id",
  //   "span": 12,

  // },	
    {
    "type": "input",
    "label": "工单编号",
    "prop": "orderNum",
    "span": 12,
    "addDisplay":false,
    "editDisplay":false,
    search:true,
    width:140
  },	
    {
    
    "label": "处理人",
    "prop": "handlerId",
    "span": 12,
    "formslot": true,
    'slot':true,
    width:140,
    rules: [{
      required: true,
      message: '请选择处理人',
      trigger: 'change'
    }],
  },
      {
    "type": "select",
    "label": "状态",
    "prop": "status",
    "span": 12,
    dicUrl:'/admin/dict/type/repair_order_status',
    "addDisplay":false,
    "editDisplay":false,
  },	 
   {
    "type": "select",
    "label": "维修方式",
    "prop": "repairType",
    "span": 12,
    dicUrl:'/admin/dict/type/data_repair',
    rules: [{
      required: true,
      message: '请选择维修方式',
      trigger: 'change'
    }],
  },	  {
    "type": "input",
    "label": "验收人",
    "prop": "acceptorId",
    "span": 12,
    "formslot": true,
    'slot':true,
    width:140,
    rules: [{
      required: true,
      message: '请选择验收人',
      trigger: 'change'
    }],
  },	  {
    type: 'datetime',
    format: 'yyyy-MM-dd HH:mm:ss',
    valueFormat: 'yyyy-MM-dd HH:mm:ss',
    "label": "验收时间",
    "prop": "acceptTime",
    "span": 12,
    width:140,
    rules: [{
      required: true,
      message: '请输入验收时间',
      trigger: 'blur'
    }],
  },	
  //   {
  //   "type": "input",
  //   "label": "评分",
  //   "prop": "score",
  //   "span": 12
  // },
      {
    "type": "input",
    "label": "验收说明",
    "prop": "acceptDes",
    "span": 12,
    rules: [{
      required: true,
      message: '请输入验收说明',
      trigger: 'blur'
    }],
  },	  {
    "type": "select",
    "label": "故障",
    "prop": "faultId",
    "dicUrl":"/ems/emsrepfault/list",
    "span": 12,
    props: {
      label: "faultName",
      value: "id"
    },
    rules: [{
      required: true,
      message: '请选择故障',
      trigger: 'chane'
    }],
  },	
    {
    // "type": "input",
    "label": "申请人",
    "prop": "applyUserId",
    "span": 12,
    // "formslot": true,
     'slot':true,
    width:140,
    "addDisplay":false,
    "editDisplay":false,
    rules: [{
      required: true,
      message: '请选择申请人',
      trigger: 'change'
    }],
  },	 
   {
    type: 'datetime',
    format: 'yyyy-MM-dd HH:mm:ss',
    valueFormat: 'yyyy-MM-dd HH:mm:ss',
    "label": "申请时间",
    "prop": "createTime",
    "span": 12,
    width:140,
    "addDisplay":false,
      "editDisplay":false,
  },	  {
    "type": "input",
    "label": "预计金额",
    "prop": "estimatedCost",
    "span": 12,
    rules: [{
      required: true,
      message: '请输入预计金额',
      trigger: 'blur'
    }],
  },	  {
    "type": "input",
    "label": "工期要求",
    "prop": "workDuration",
    "span": 12,
    rules: [{
      required: true,
      message: '请输入工期要求',
      trigger: 'blur'
    }],
  },	  {
    "type": "input",
    "label": "委托单位",
    "prop": "entrustClient",
    "span": 12,
    rules: [{
      required: true,
      message: '请输入委托单位',
      trigger: 'blur'
    }],
  },	  {
    type: 'datetime',
    format: 'yyyy-MM-dd HH:mm:ss',
    valueFormat: 'yyyy-MM-dd HH:mm:ss',
    "label": "审批结束时间",
    "prop": "applyEndTime",
    "span": 12,
    width:150,
    "addDisplay":false,
    "editDisplay":false,
  },	 
   {
    "label": "文件ID",
    "prop": "fileId",
    "span": 12,
    "formslot": true,
    'slot':true,
  },	
  
   {
    "type": "textarea",
    "label": "备注",
    "prop": "remark",
    "span": 12,
    overHidden: true,
  },	
  //   {
  //   "type": "input",
  //   "label": "删除标志(0正常 1删除)",
  //   "prop": "delFlag",
  //   "span": 12
  // },	  {
  //   "type": "input",
  //   "label": "租户Id",
  //   "prop": "tenantId",
  //   "span": 12
  // }  
]
}
